from django.urls import path
from django.urls import re_path
from rest_framework_jwt.views import obtain_jwt_token
from . import views
urlpatterns=[
    path('login/',obtain_jwt_token),  #用户登录 用 jwt 来验证
    path('fuck/',views.GeetestCapchaAPIView.as_view()),#行为验证
    path('register/',views.UserAPIView.as_view()),         #用户注册
    re_path('sms/(?P<mobile>1[3-9]\d{9})/',views.SMSAPIView.as_view()),
]